import {request} from '../request.js'

//根据参数获取不同新闻
export const baseurl="http://124.93.196.45:10001/"

export function getnewslist(type){
	return request({
		url:"/prod-api/press/press/list?type="+type
	})
}

export function getserverlist(){
	return request({
		url:"/prod-api/api/service/list",
	})
}
// 获取广告列表
export function getadvlist(){
	return request({
		url:"/prod-api/api/activity/rotation/list"
	})
}